Don't use CLOCKS_PER_SEC in w32 timers.
authorEli Zaretskii <eliz@gnu.org>
Sun, 28 Oct 2012 17:42:52 +0000 (19:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 28 Oct 2012 17:42:52 +0000 (19:42 +0200)
commitdbdddb69b9c484a7e3f3eeaf28d11c46727f8182
tree38c69e1217bdaf28381e6f62586bdc2e6660eded
parent54581938ba51f7c156f4419154702e1c8c0571d8
Don't use CLOCKS_PER_SEC in w32 timers.

 src/w32proc.c (TIMER_TICKS_PER_SEC): New macro.
 (timer_loop, getitimer, setitimer): Use it instead of
 CLOCKS_PER_SEC, which is no longer pertinent, since we don't use
 'clock'.
 (w32_get_timer_time): Use 10*TIMER_TICKS_PER_SEC instead of a
 literal 10000.
src/ChangeLog
src/w32proc.c